define(['jquery'],()=>{
    class Footer{
        constructor(){
            this.lodeFooter().then()
        }
        lodeFooter(){
            return new Promise(resolve=>{
                $('footer').load('/html/footer.html',resolve)
            })
        }
    }
    return new Footer()
})